package com.appspot.moviesessions.model;

import org.springframework.context.ApplicationEvent;

public class MovieCreatedEvent extends ApplicationEvent {

	private static final long serialVersionUID = 1L;
	private String name;

	public MovieCreatedEvent(Object source, String movieName) {
		super(source);
		this.name = movieName;
	}

	public String getName() {
		return name;
	}

}
